package com.toplabs.unashu.mapper;

import com.toplabs.unashu.entity.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author ityanger
 * @since 2020-08-23
 */
@Repository
public interface UserMapper {
    User queryUser(@Param("username") String username, @Param("password") String password);

    User queryUserByName(@Param("username") String username);
}
